
package com.ztesoft.report.entity;

import java.util.List;

/**
 * 用于业务逻辑层和返回视层使用的对象 代表一个节点
 * @author 陈俊锋[296954345@qq.com]
 * @date 2018/6/15
 */
public class ReportCategoryDto {

    /**
     * vue 中 使用的id　这里存放ReportCategory中的id
     */
    private Integer id;

    /**
     * vue中展示的字符串
     */
    private String label;

    /**
     * 该节点下 所有子节点
     */
    private List<ReportCategoryDto> children;

    private Integer sequence;

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<ReportCategoryDto> getChildren() {
        return children;
    }

    public void setChildren(List<ReportCategoryDto> children) {
        this.children = children;
    }
}

